home *** CD-ROM | disk | FTP | other *** search
- Path: engnews1.Eng.Sun.COM!taumet!clamage
- From: nk@lns598.lns.cornell.edu (Nobuhiko Katayama)
- Newsgroups: comp.std.c++
- Subject: friend inline vs inline friend
- Date: 25 Jan 1996 16:12:11 GMT
- Organization: Wilson Lab, Cornell U., Ithaca, NY 14853
- Sender: nk@lnscu1.lns.cornell.edu
- Approved: clamage@eng.sun.com (comp.std.c++)
- Message-ID: <sc68e0s5bn.fsf@lnscu1.lns.cornell.edu>
- NNTP-Posting-Host: taumet.eng.sun.com
- Content-Type: text
- X-Nntp-Posting-Host: lnscu1.lns.cornell.edu
- X-Newsreader: Gnus v5.1
- Content-Length: 497
- X-Lines: 18
- Originator: clamage@taumet
-
- Hi experts,
-
- Where in the draft standard, if any, says one can use (in the
- class declaration),
-
- friend inline void a(A&);
-
- but not
-
- inline friend void a(A&);
-
- ? I have been discussing with a compiler engineer who somehow seems to
- think the above is true and makes the latter illegal. I cannot find any
- place in the draft that says I cannot use the latter syntax. However, I
- noticed that libg++ has changed "inline friend" to "friend inline" in its
- String class.
- Thank you for your help.
- Nobu
-
- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
- Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
- is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
-
-